import {Component, OnInit} from '@angular/core';

@Component({
  selector: 'app-demo02-basic',
  templateUrl: './demo02-basic.component.html',
  styleUrls: ['./demo02-basic.component.css']
})
export class Demo02BasicComponent implements OnInit {
  list = [100,200,300];
  constructor() {
  }

  ngOnInit() {
  }

  itemCilck(item,index){
    console.log(item,index)
  }

}
